home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / OutOfContextMenus / Source / CBlurBehavior.h < prev    next >
Encoding:
Text File  |  1999-06-23  |  713 b   |  35 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    CBlurBehavior.h                 ©1999 Eric Traut
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include "COffscreenBehavior.h"
  8.  
  9.  
  10. class CBlurBehavior : public COffscreenBehavior
  11. {
  12.     public:
  13.         CBlurBehavior(CShadowWindow &        inShadowWindow);
  14.  
  15.         virtual Boolean
  16.         RenderToGWorld(    StGWorldLocker &        inBackingLocker,
  17.                         StGWorldLocker &        inRenderingLocker);
  18.  
  19.         virtual Boolean
  20.         SyncWithShadowWindow(void);
  21.         
  22.         void
  23.         AccumColor(        UInt16        inPixel, 
  24.                         UInt32 &    ioAccumRed, 
  25.                         UInt32 &    ioAccumGreen, 
  26.                         UInt32 &    ioAccumBlue, 
  27.                         Fixed        inFraction);
  28.  
  29.     private:
  30.         Rect        mBlurRect;
  31. };
  32.  
  33.  
  34.  
  35.